package redteam.grabthegreen;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainWindow extends Activity{
	@Override
    public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		setContentView(R.layout.mainwindow);
		Button createGameButton = (Button)findViewById(R.id.create);
		createGameButton.setText("Create Game");
		createGameButton.setOnClickListener(new Button.OnClickListener() {
        	public void onClick(View v) {
        		startSubActivity(new Intent(MainWindow.this, SetupWindow.class), 0);
        	}
        });
		Button quitButton = (Button)findViewById(R.id.quit);
		quitButton.setText("Quit");
		quitButton.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
				//quit the fuckin game
			}
		});
	}

}
